<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>border shadow</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .div1 {
            position: absolute;
            width: 100px;
            height: 400px;
            border: 50px solid;
            border-image: url("./2.png") 27 stretch;

        }
    </style>
</head>
<body>
    <div class="div1"></div>
</body>
</html>